<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:chart="http://schemas.Kherty.com/office/2007/chart"
    xmlns:chartui="clr-namespace:OpenLS.Chart.UI"
    x:Class="OpenLS.Chart.UI.View3DResources"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Internals="clr-namespace:OpenLS.Chart.UI.Internals"
    xmlns:UI1="clr-namespace:OpenLS.UI;assembly=OpenLS.UI">
    <DataTemplate DataType="{x:Type chart:View3D}">
        <StackPanel>
            
            <GroupBox Header="{x:Static Internals:UIStringTable.Rotation}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <TextBlock Text="X" Grid.Row="0" Grid.Column="0"></TextBlock>
                    <TextBlock Text="Y" Grid.Row="1" Grid.Column="0"></TextBlock>
                    <UI1:NumericUpDown Value="{Binding RotationX}" SmallChange="5" LargeChange="5" Maximum ="360" Format="{}{0}°" Grid.Row="0" Grid.Column="1" />
                    <UI1:NumericUpDown Value="{Binding RotationY}" SmallChange="5" LargeChange="5" Maximum ="360" Format="{}{0}°" Grid.Row="1" Grid.Column="1" />
                </Grid>
            </GroupBox>
            <GroupBox Header="{x:Static Internals:UIStringTable.ChartScale}">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>
                    <CheckBox Grid.ColumnSpan="2" IsChecked="{Binding RightAngleAxes}"/>
                    <TextBlock Text="Depth" Grid.Row="2"></TextBlock>
                    <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding DepthPercent, UpdateSourceTrigger=PropertyChanged}"/>
                </Grid>
                

            </GroupBox>
        </StackPanel>
    </DataTemplate>
    
</ResourceDictionary>